package taskTracker.ui.lite;

import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;

public class ConfirmationAlert extends Alert {
	public static final Command cmdOK = new Command("OK", Command.OK, 1);
	public static final Command cmdCancel = new Command("Cancel", Command.CANCEL, 2);
	public final Object confirmedObject;
	
	public ConfirmationAlert(String title, String alertText, Object confirmedObject) {
		super(title, alertText, null, AlertType.CONFIRMATION);
		super.addCommand(cmdOK);
		super.addCommand(cmdCancel);
		this.confirmedObject = confirmedObject;
	}
	
}
